<?php

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/

Route::group(
    ['namespace' => 'Common'],
    function () {
        Route::get('common/select/port', 'SelectController@port')->name('common.select.port');

        Route::get('common/select/customer', 'SelectController@customer')->name('common.select.customer');
        Route::get('common/select/country', 'SelectController@country')->name('common.select.country');
        Route::get('common/select/currency', 'SelectController@currency')->name('common.select.currency');
        Route::get('common/select/transport', 'SelectController@transport')->name('common.select.transport');
        Route::get('common/select/port', 'SelectController@port')->name('common.select.port');

        Route::get('common/select/dictionaries/{code}', 'SelectController@dictionaries')->name('common.select.dictionaries');
    });
